package com.trafficsys.modules.owner.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.trafficsys.modules.entity.TravelCard;

import java.util.HashMap;

public interface EditCarService {
    //车辆上户
    HashMap<String,Object> addCar(TravelCard travelCard);
    //车辆过户
    HashMap<String,Object> updateCar(TravelCard travelCard);
    //车辆报废
    HashMap<String,Object> delCar(String travelCarId);

    IPage<TravelCard> getByPage(Integer pageSize, Integer currentPage);
}
